#include "stdafx.h"

来源:百度知道 编辑:UC知道 时间:2024/05/20 03:25:19
#include "stdafx.h"
#include"stdio.h"
#include "math.h"
void main()
{
float a,x;
double y;
scanf("%f,%f",&a,&x);
y=sin(sqrt(a*x))+ln(a+x);
printf ("y=%lf",y);
}

问题都没有说清楚
是不是 stdafx.h 没有找到?
自己在你的c语言目录里找找 没有这个文件就去安装包找

stdafx.h是在vc6下生成的,没用你可以把
#include "stdafx.h"这句删掉